<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户登录</title>
</head>
<body>
	<table align="center" border="1px" width="500px" cellspacing="0px" cellpadding="5px">
		<form action="admin?action=login" method="post">
		<caption><h3>用户登录</h3></caption>
		<tr>
			<td>用户名</td>
			<td><input type="text" name="userName"/></td>
		</tr>
		
		<tr>
			<td>密 码</td>	
			<td><input type="password" name="pwd"/></td>
		</tr>
		
		<tr align="center">
			<td colspan=2>
				<input type="submit" value="登 录"/>
			    <input type="reset"/>
			    <span><font color="red">${msg}</font></span>
			    <a href="register.jsp">未注册，先注册</a>
			</td>
		</tr>
		</form>
		
	</table>

</body>
</html>